package com.apes.scm.masterdata.product.es;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface EsCategoryRepository extends ElasticsearchRepository<EsCategory, String> {

    void deleteAllByCategoryId(String categoryId);
    void deleteAllByTagsAndCategoryId(String tags, String categoryId);
}
